package com.im.partchat.mvp.model.friend;

import com.im.partchat.bean.FriendApply;
import com.im.partchat.bean.reponsed.BaseResponse;

import java.util.List;

import io.reactivex.Observable;

/**
 * Created by hhz on 2017/7/3.
 */

public interface FriendModel {


    Observable<BaseResponse<Object>> friendApplyAdd(String userId, String friendId);

    Observable<BaseResponse<Object>> friendApplyConfirm(String applyId, boolean result);

    Observable<BaseResponse<Object>> friendDelete(String userId, String friendId);

    Observable<BaseResponse<List<FriendApply>>> friendApplyList(String userId);

}
